package com.chris.design.pattern.samples.wrapper;

/**
 * @author shangpan
 * @date 10/09/2018
 */
public class ConcreteWrapperA extends Wrapper {

    public ConcreteWrapperA(Component component) {
        super(component);
    }

    @Override
    public void someOperation() {
        super.someOperation();
        // do some operation by wrapper A
        // 写相关的业务代码
        System.out.println("====ConcreteWrapperA===someOperation");
    }
}
